import { textDefaultProps } from 'lego-bricks'
const defaultTextTemplates = [
    {
        text: '粗体标题',
        fontSize: '24px',
        fontWeight: 'bold',
        tag: 'h2',
        textAlign: 'center',
        width: '100px',
    },
    {
        text: '楷体副标题',
        fontSize: '20px',
        fontFamily: " KaiTi, STKaiti",
        tag: 'h2',
        fontWeight: 'bold',
        textAlign: 'center',
        width: '100px',
    },
    {
        text: '宋体正文内容',
        fontSize: '16px',
        fontFamily: "SimSun, STSong",
        tag: 'h2',
        fontWeight: 'bold',
        textAlign: 'center',
        width: '100px',
    },
    {
        text: 'Arial style',
        fontSize: '16px',
        fontFamily: "Arial, sans-serif",
        tag: 'h2',
        fontWeight: 'bold',
        textAlign: 'center',
        width: '100px',
    },
    {
        text: 'Courier New',
        fontSize: '14px',
        fontFamily: "Courier New",
        tag: 'h2',
        fontWeight: 'bold',
        textAlign: 'center',
        width: '100px',
    },
    {
        text: '正文内容',
        tag: 'p',
        textAlign: 'center',
        width: '100px',
    },
    {
        text: '链接内容',
        color: '#1890ff',
        textDecoration: 'underline',
        tag: 'p',
        textAlign: 'center',
        width: '100px',
    },
    {
        text: '按钮内容',
        color: '#ffffff',
        backgroundColor: '#1890ff',
        borderWidth: '1px',
        borderColor: '#1890ff',
        borderStyle: 'solid',
        borderRadius: '2px',
        paddingLeft: '10px',
        paddingRight: '10px',
        paddingTop: '5px',
        paddingBottom: '5px',
        width: '100px',
        tag: 'button',
        textAlign: 'center',
        position: 'absolute',
    }
]
export default defaultTextTemplates.map(template => ({ ...textDefaultProps, ...template }))